package day2;

import java.util.Scanner;

/**
 * @author oldliu
 * @since 1.0
 */
public class Prize4 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        System.out.println("请输入张浩的java成绩：");
        double s = in.nextDouble();
        //不能这样写
//        if(s>90){
//            System.out.println("给他买iphone13 promax作为奖励");
//            s-=20;
//        }
//        if(s<=90){
//            System.out.println("惩罚他蹲马步~");
//        }
        if (s > 90) {
            System.out.println("给他买iphone13 promax作为奖励");

        } else {
            System.out.println("惩罚他蹲马步~");
        }
        System.out.println("暑假开始了。。。");
    }
}
